package cn.momoky.ccool.pojo.view;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.NonNull;
import lombok.experimental.Accessors;

import javax.annotation.Nullable;

@Data
@AllArgsConstructor
@NoArgsConstructor
@Accessors(chain = true)
public class LoginRequest {

    @Nullable
    private Long id;

    @NonNull
    private String name;

    @NonNull
    private String password;

    @Nullable
    private String email;

    @Nullable
    private Integer status;

    @Nullable
    private Boolean remember;
}
